tests/libtest.sh: Print non-matching file on failure
authorColin Walters <walters@verbum.org>
Thu, 7 Jul 2016 21:36:08 +0000 (17:36 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 8 Jul 2016 18:38:11 +0000 (18:38 +0000)
commit71301d18244a3a26a6ba6fd3934633ef94811a15
treebf4dbd928d73bf7e8a17072d5ddc8bb213ba778d
parentb0bfb92831400edfde06425499fb50fd3258b3f8
tests/libtest.sh: Print non-matching file on failure

We clean up the temporary directory on failure, which means it's hard
to know *why* a regex didn't match.  Print it when we hit an error.

Closes: #383
Approved by: mbarnes
tests/libtest.sh